﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Gola.VN.Scb.Web.Common.Models.UICustomerModels>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Gola - Danh sách các gian hàng
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        Danh sách các gian hàng</h2>
        <%if (Model.Providers.Count > 0)
          { %>
    <table cellpadding="0" cellspacing="0">
        <% foreach (var provider in Model.Providers)
           { %>
        <tr>
            <td style="width: 40px">
                <img src="<%: provider.Logo %>" width="40px" height="40px" alt="Logo" />
            </td>
            <td style="width: 100px">
                <a href="/gian-hang/<%:provider.Name %>"><%: provider.DisplayName%></a>
            </td>
            <td>
                <%: provider.Address%>
            </td>
        </tr>
        <%} %>
        <%}
          else
          { %>
        <p>Hiện tại không có gian hàng nào</p>
        <%} %>
    </table>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="LeftPanel" runat="server">
</asp:Content>
